﻿using Orchard.ContentManagement.Records;
using Orchard.Data.Conventions;
using System;

namespace MultiChoiceVoting.Models
{
    public class MultiChoiceVotingPartRecord : ContentPartRecord
    {
        public virtual string Name { get; set; }
        public virtual string Question { get; set; }
        public virtual string AnswerList { get; set; }
        public virtual string Comment { get; set; }
        public virtual DateTime? ReleaseDate { get; set; }
        public virtual DateTime? FinishDate { get; set; }
        public virtual bool IsActive { get; set; }
        [StringLengthMax]
        public virtual string SerializedAnswers { get; set; }
    }
}